<template lang="">
  <div :id="aaa":title="bbb">
    这是div
  </div>
  <button @click="alertstr">button</button>
</template>
<script>
export default {
  date(){
   return{
    aaa:"123213123",
    bbb:"6666"
    }
 },
 methods: {
   alertstr(){
    //alert(12312312)
    this,aaa="hahahah"
   }
  }
}
</script>
<style lang="">
  
</style>